Skip to main content

revXMLRPC_GetPort

Type

function

Summary

This function returns the target port of an XML-RPC document.

Syntax

revXMLRPC_GetPort(<XMLRPCdocumentID>)

Description

Use the revXMLRPC_GetPort function to retrieve the port that is the target of the execution of an XML-RPC request.

If the revXMLRPC_GetPort function encounters an error, it returns an error message starting with "xmlrpcerr" ..

Parameters

NameTypeDescription

XMLRPCdocumentID

integer

The number returned by the revXMLRPC_CreateRequest when you created the XML-RPC request, or the successful revXMLRPC_Execute function when you executed an XML-RPC request.

Examples

local tPort
put revXMLRPC_GetPort(tRequest) into tPort

command: revXMLRPC_SetPort

control structure: function

function: revXMLRPC_CreateRequest, revXMLRPC_Execute

glossary: return, host, XML-RPC, Standalone Application Settings, XML-RPC document, standalone application, port, function, LiveCode custom library

library: XML-RPC library

Compatibility and Support

Introduced

LiveCode 2.5

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?